Add .github/release-task.md Copilot agent release task prompt#57
Merged
304NotModified merged 4 commits intomainfrom Apr 7, 2026
Merged
Add .github/release-task.md Copilot agent release task prompt#57304NotModified merged 4 commits intomainfrom
304NotModified merged 4 commits intomainfrom
Conversation
Agent-Logs-Url: https://github.com/304NotModified/SLNX-validator/sessions/7293dedd-9c3e-4add-99fd-9a8b73e33e45 Co-authored-by: 304NotModified <5808377+304NotModified@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add release task markdown file for Copilot
Add .github/release-task.md Copilot agent release task prompt
Apr 6, 2026
304NotModified
requested changes
Apr 6, 2026
Agent-Logs-Url: https://github.com/304NotModified/SLNX-validator/sessions/144fb689-82bf-41cd-a5a0-9a23e41a6796 Co-authored-by: 304NotModified <5808377+304NotModified@users.noreply.github.com>
304NotModified
requested changes
Apr 7, 2026
Agent-Logs-Url: https://github.com/304NotModified/SLNX-validator/sessions/5713e542-8964-4247-8102-419eef1e99d8 Co-authored-by: 304NotModified <5808377+304NotModified@users.noreply.github.com>
Contributor
Author
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
304NotModified
approved these changes
Apr 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a reusable Copilot coding agent task prompt so releases can be triggered with a single chat message (
/release X.Y.Z) instead of manually writing changelogs, bumping versions, and creating GitHub releases.What the task prompt covers
dependabot[bot],documentation-labelled PRs,docs:PRs,dependencies-labelled PRs, and version-bump PRsfeat:/ labelenhancement), bug fixes (fix:/ labelbug), and internal improvements (chore:,refactor:/ labelsrefactoring,build, or structural title patterns) each get their own section<PackageReleaseNotes>in the csproj; extended changelog with code examples for the GitHub Release body<VersionPrefix>and<PackageReleaseNotes>insrc/SLNX-validator/SLNX-validator.csprojdraft: false, targetingmain) with a generated title in the formatX.Y.Z: <summary>Usage
or shorthand:
Original prompt
Doel
Maak een bestand
.github/release-task.mdaan. Dit is een Copilot task-promptbestand waarmee de gebruiker met een korte instructie als "release 0.6.0" een volledige release kan uitvoeren via de Copilot coding agent.Wat het bestand moet zijn
Een gedetailleerde prompt-instructie in Markdown, geschreven als instructie voor de Copilot coding agent. Het beschrijft exact wat de agent moet doen bij een release-opdracht.
Inhoud van
.github/release-task.mdHet bestand moet het volgende beschrijven:
Gebruik
De gebruiker typt in Copilot chat:
of kortweg:
Stap-voor-stap instructies voor de agent
1. Verzamel wijzigingen since laatste release
/repos/{owner}/{repo}/releases/latest)/repos/{owner}/{repo}/pulls?state=closed)merged_atna de datum van de laatste release2. Filter en categoriseer de PRs als volgt:
dependabot[bot]docs:feat:prefix): toon als hoofdpunt met korte beschrijvingfix:prefix): toon als hoofdpunt met korte beschrijvingchore:,refactor:, of interne verschuivingen zoals "Move", "Rename", "Replace public API"): toon kort onderaan in een aparte sectie "🔧 Internal improvements" met links naar de PR3. Genereer de korte changelog (voor
<PackageReleaseNotes>in csproj)4. Genereer de uitgebreide changelog (voor GitHub Release body)
## ✨ New features(als er features zijn)## 🐛 Bug fixes(als er fixes zijn)## 🔧 Internal improvements(als er refactorings zijn, kort met PR-links, geen details)slnx-validator ... --new-flag)**Full Changelog**: https://github.com/{owner}/{repo}/compare/vOUD...vNIEUWdocs:) worden niet opgenomen5. Bepaal de release titel
X.Y.Z: <korte beschrijving van de belangrijkste wijziging(en)>0.6.0: SARIF report output & severity override flags6. Pas de versie aan in
src/SLNX-validator/SLNX-validator.csproj<VersionPrefix>op de nieuwe versie (bijv.0.6.0)<PackageReleaseNotes>met de gegenereerde korte changelog (stap 3)7. Maak een PR aan met:
Bump version to X.Y.Z and update release notes8. Maak de GitHub Release aan via de GitHub API:
vX.Y.Zdraft: false,prerelease: falsemainRegels voor de changelog
Voorbeeld output
Release titel:
0.6.0: SARIF report output & severity override flagsKorte changelog (csproj):
GitHub Release body:
CLI severity override flags — override the severity of specific validation rules per run (#45)
🐛 Bug fixes
🔧 Internal improvements
XDocumentAPI onSlnxFilewith typed SLNX domain model (#54)SlnxCollectorand renameValidationCollector(#51)Full Changelog: v0.5.0...v0.6.0